package com.qqletter.api;

import com.qqletter.common.Constants;
import com.qqletter.request.oauth.GetRequestTokenRequest;
import com.qqletter.response.oauth.GetRequestTokenResponse;
import com.qqletter.utils.DefaultClient;

/**
 * @author  Devin.Hu
 * @date 2011-10-6
 * @version V1.0 
 * @description  
 */
public class OAuthAPI {

	public GetRequestTokenResponse getRequestToken() throws Exception
	{
		GetRequestTokenRequest req = new GetRequestTokenRequest();
		
		DefaultClient client = new DefaultClient(Constants.GET_REQUEST_TOKEN, true);
		GetRequestTokenResponse response = client.execute(req);
		return response;
	}
}
